﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;

namespace Tisonet.Dobrak.Domain.Services.Downloaders
{
    public class HttpDownloader : IDownloader
    {
        public async Task<Stream> DownloadAsync(Uri uri)
        {
            HttpClient client = new HttpClient();
            
            return await client.GetStreamAsync(uri);
        }
    }
}
